package Test;

import mapper.TransferFile;
import model.Bill;
import service.MainServices;
import view.Home;

import java.time.LocalDateTime;

/**
 * @InterfaceName: Test
 * @Description:测试类
 * @Author: YourName
 * @Date: 2024/12/24
 */
public class Test {
    public static void main(String[] args) {
        MainServices mainServices = new MainServices();
        Bill bill = new Bill(Home.time(),60,"奖学金","优秀工作者");
        Bill bill1 = new Bill(Home.time(),5,"奖学金","优秀工作者");
        String s = mainServices.RecordIincome(bill);
        System.out.println(s);
        System.out.println(TransferFile.loadNumber());
        System.out.println(mainServices.RecordExpenses(bill1));
        System.out.println(TransferFile.loadNumber());
        System.out.println(Home.time());
    }
}
